package com.yc.spring.bbs.bean;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;


@Data
public class AllUser extends User {

    int age ;
    String address;

    public AllUser(int age, String address) {
        this.age = age;
        this.address = address;
    }
    public AllUser(){

    }

    public void init(){
        System.out.println("init"+this);
    }

    public void destroy(){
        System.out.println("destroy" + this);
    }




}
